public class ServiceEmployee extends Employee {

   double wage;

    public ServiceEmployee(String type, double basicWage, double wage) {
        super(type, basicWage);
        this.wage = wage;
    }

    public ServiceEmployee(double wage) {
        this.wage = wage;
    }

    @Override
    public void getSalary() {
        System.out.println("服务人员资金为："+(basicWage+wage));
    }
}
